<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
  <head>
    <meta http-equiv="content-type" content="text/html; charset=UTF-8"/>
    <title>Undelete log comments for {{place|escape}} {{people|escape}}</title>
    <script
      src="http://maps.google.com/maps?file=api&amp;v=2&amp;key=ABQIAAAALTdx9qjrdl_2yO4uD4jnWxQ_6N4dkHg7_wIKENxVG1go3UnpWxRwWZP6VSh5aDY53HnYXQe1FQQEGw" type="text/javascript"></script>
    <link rel="shortcut icon" href="favicon.ico" type="image/x-icon" />
    <link rel="icon" href="favicon.ico" type="image/x-icon">
  </head>
  <body onunload="GUnload()">
    <center>
      <h2>Undelete a <font color="red">deleted</font> comment so other <font color="blue">{{place|escape}}</font> {{people|escape}} learn what you {{activity|escape}}</h2>
    </center>

    <table border="1" cellpadding="5" cellspacing="0" class="sortable" id="unique-id" >
      <tr> 
        <!--td width="03%">ID</td-->
        <td width="03%">ID</td>
        <td width="77%">
          <h4>{{moreinfoLog|escape|default:"Comment"}}</h4></td>
        <td width="10%">Name</td>
        <td width="06%">Date</td>
        <td width="02%">Cate gory</td>
        <td  width="02%">Pin label</td>
      </tr>
    {% for s in comments %}
    <tr>
      <td>{{ forloop.counter }}</td>
      <td>{{ s.comment|urlizetrunc:25 }}</td>
      <td> {{s.name|escape}}</td>
      <td> {{s.created}}</td>
      <td bgcolor="#{{s.scolor}}"> {{s.scategory}} </td>
      <td> {{s.pinlabel|escape}}</td>
    </tr> 
    {% endfor %}
    </table>

    {% if next %}
    <p><a href="/logowner?bookmark={{ next }}&place={{place}}">Next</a></p>        
    {% endif %}
        

    <form action="/logowner?place={{place}}"enctype=" multipart/form-data" method="Post">
      <br />
        <label>UnDelete:</label> 
          <select name="undeleteID" >
            <option value=""></option>
            {%for s in comments %}
            <option value={{s.key}}>{{forloop.counter}}</option>
            {% endfor %}
          </select>This hopefully undeletes a comment and photo.

      <p><input type="submit" value="Undelete" /></p>
      <!--p>{{ captchahtml }}<input type="submit" value="Add" /></p-->
      
    </form>


  </body>
</html> 
